const http = uni.$u.http

// 微信用户表-编辑
export const qxWxUserEdit = (params) => http.post('/chihiro/qxWxUser/edit', params)

// 分页查询云相册
export const qxCloudMediaList = (params) => http.get('/chihiro/qxCloudMedia/list', { params })

// 通过id删除云相册
export const qxCloudMediaDelete = (params) => http.delete('/chihiro/qxCloudMedia/delete', params, { header: { 'content-type': 'application/x-www-form-urlencoded' } })

// 收藏表-查询当前type的数据
export const queryByType = (params) => http.get('/chihiro/qxCommentCollect/queryByType', { params })

// 我的消息-未读消息个数
export const queryNumberList = (params) => http.get('/chihiro/qxMyMessage/queryNumberList', { params })

// 我的消息-评论分页列表查询
export const queryCommentPageList = (params) => http.get('/chihiro/qxMyMessage/queryCommentPageList', { params })

// 我的消息-获赞分页列表查询
export const queryLikePageList = (params) => http.get('/chihiro/qxMyMessage/queryLikePageList', { params })

// 我的消息-通知公告列表查询
export const qxNoticeAnnoList = (params) => http.get('/chihiro/qxMyMessage/queryAnnoPageList', { params })

// 通知公告-通过id查询
export const qxNoticeAnnoQueryById = (params) => http.get('/chihiro/qxNoticeAnno/queryById', { params })

// 亲子-添加孩子信息
export const addBindingStudentInfo = (params) => http.post('/chihiro/qxStudentManage/addBindingStudentInfo', params)

// 亲子-查询亲子列表
export const queryBindingStudentsList = (params) => http.get('/chihiro/qxStudentManage/queryBindingStudentsList', { params })

// 亲子-删除关联
export const deleteBindingStudent = (params) => http.post('/chihiro/qxStudentManage/deleteBindingStudent', params, { header: { 'content-type': 'application/x-www-form-urlencoded' } })

// 亲子-通过身份证号查询孩子信息
export const queryStudentInfoByIdCard = (params) => http.get('/chihiro/qxStudentManage/queryStudentInfoByIdCard', { params })

// 学生管理表-编辑
export const qxStudentManageEdit = (params) => http.post('/chihiro/qxStudentManage/edit', params)

// 学生管理表-通过id查询
export const qxStudentManageQueryById = (params) => http.get('/chihiro/qxStudentManage/queryById', { params })

// 学校树查询
export const querySchoolTreeList = (params) => http.get('/chihiro/qxSchoolManage/querySchoolTreeList', { params })

// 查询粉丝列表
export const queryFanList = (params) => http.get('/chihiro/qxUserConcern/queryFanList', { params })

// 查询关注列表
export const queryFollowList = (params) => http.get('/chihiro/qxUserConcern/queryFollowList', { params })

// 关注OR取关
export const qxUserConcernAdd = (params) => http.post('/chihiro/qxUserConcern/add', params)

// 查询我的
export const queryMyCorrelationNumber = (params) => http.get('/chihiro/qxUserConcern/queryMyCorrelationNumber', { params })